/**
 * 项目名称:
 *
 * @Author: 夏国倩
 * @Date: 2023/10/13 15:46
 * @Copyright
 */
package wait;

public class ThreadTest {
    public static void main(String[] args) {
        Resource r=new Resource();
        Input i=new Input(r);
        Thread in=new Thread(i);
        Output o=new Output(r);
        Thread out=new Thread(o);

        in.start();
        out.start();
    }
}
